//
//  NSObjcGCD+Manager.m
//  高仿暴走斗图
//
//  Created by key on 16/3/22.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "NSObjcGCD+Manager.h"

@implementation NSObjcGCD (Manager)


+ (dispatch_queue_attr_t)checkQueueEnumType:(kQueueType)type {
    
    dispatch_queue_attr_t attr;
    if (type == kQueueTypeSERIAL) {
        attr = DISPATCH_QUEUE_SERIAL;
    } else if (type == kQueueTypeCONCURRENT) {
        attr = DISPATCH_QUEUE_CONCURRENT;
    }
    return attr;
}

@end
